﻿// Copyright (c) 2014 Jonathan Magnan (http://jonathanmagnan.com).
// All rights reserved (http://jonathanmagnan.com/icon-library).
// Licensed under MIT License (MIT) (http://ziconlibrary.codeplex.com/license).

using System.IO;

namespace Z.GenerateIconProject.WinForm
{
    public class My
    {
        /// <summary>The template icon project.</summary>
        public const string TemplateIconProject = "TemplateIconProject";

        public class TemplateFile
        {
            public static DirectoryInfo ProjectFile = new DirectoryInfo("TemplateFile/ProjectFile");
            public static DirectoryInfo ProjectIconFile = new DirectoryInfo("TemplateFile/ProjectIconFile");
            public static DirectoryInfo SupportFile = new DirectoryInfo("TemplateFile/SupportFile");
            public static DirectoryInfo SupportIconFile = new DirectoryInfo("TemplateFile/SupportIconFile");
        }

        public class Message
        {
            public class Error
            {
                /// <summary>The first em 00.</summary>
                public const string EM001 = "A general error occurred.";
                /// <summary>The second em 00.</summary>
                public const string EM002 = "Invalid directory name.";
                /// <summary>The second em 00.</summary>
                public const string EM003 = "Failed to created the directory.";
                /// <summary>The first em 10.</summary>
                public const string EM101 = "A general error occurred.";
                /// <summary>The second em 10.</summary>
                public const string EM102 = "The “Source” directory must exists.";
                /// <summary>The third em 10.</summary>
                public const string EM103 = "The “With” directory must exists.";
                /// <summary>The first em 20.</summary>
                public const string EM201 = "A general error occurred.";
                /// <summary>The second em 20.</summary>
                public const string EM202 = "The Icon16 Directory must exists or be empty.";
                /// <summary>The third em 20.</summary>
                public const string EM203 = "The Icon32 Directory must exists or be empty.";
                /// <summary>The fourth em 20.</summary>
                public const string EM204 = "The Icon16 and Icon32 cannot be both empty.";
                /// <summary>The fifth em 20.</summary>
                public const string EM205 = "The namespace cannot be empty.";
                /// <summary>The em 206.</summary>
                public const string EM206 = "The css file name cannot be empty.";
                /// <summary>The em 207.</summary>
                public const string EM207 = "The handler path cannot be empty.";
                /// <summary>The em 208.</summary>
                public const string EM208 = "Generation cancelled, synchronize your directory.";
            }

            public class Success
            {
                /// <summary>The first sm 00.</summary>
                public const string SM001 = "The working directory is valid.";
                /// <summary>The first sm 10.</summary>
                public const string SM101 = "The icon directory have been synchronized in your output directory.";
                /// <summary>The first sm 20.</summary>
                public const string SM201 = "The project have been generated in your output directory.";
            }

            public class Warning
            {
                /// <summary>The first wm 20.</summary>
                public const string WM201 = "Generating may take several seconds...Press OK to start";
            }

            public class Text
            {
                /// <summary>The first time 00.</summary>
                public static string TM001 = "Specify in which directory you want your files to be generated.\r\nIf the directory doesn’t end with “IconWorkingDirectory”, the directory will be \r\nadded at the end of your path.";
                /// <summary>The second time 00.</summary>
                public static string TM002 = "In this example, we assume you have filtered all your icon 32x32 in a Icon32 folder\r\nand want to create an Icon16 folder from the full fatcow icon set 16x16.";
                /// <summary>The third time 00.</summary>
                public static string TM003 = "Specify your configuration to generate the C# icon project. ";
            }
        }
    }
}